﻿<div class="dialog-container mdl-shadow--8dp mdl-layout--fixed-header query-list-dialog mode-S badType-content">
    <div class="kmi-header-row" style="position: relative;">  
        <div class="header-title" ng-bind="'mobile01.checkout.bad_list' | translate"></div>
        <div class="kmi-side-btn right" ng-click="dialog.back();">
            <img src="image/icons/clear.png"></img>
            <div class="kmi-can-click"></div>
        </div>
    </div>
    <div class="kmi-layout-main-content">
        <div class="kmi-layout-page">
            <div class="kmi-text-fields search_bad" style="position: relative;">
                <label ng-bind="'mobile01.checkout.bad_search' | translate" style='margin-right: 10px;'></label>
                <div style="flex:1;height: 28px;">
                    <input class="badReason_input" ng-model="badreason_search">
                </div>
            </div>
            <div class="kmi-list">
                <div class="kmi-list__header">
                    <!-- <div class="kmi-list__column" style="flex:1;" ng-bind="'B0206.trackOut.prodPatchNo1' | translate" ></div>-->
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'common.queryList.badReason_c' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'common.queryList.badReason_n' | translate"></div>
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'mobile01.checkout.bad_qty' | translate"></div>
                </div>
                <div class="kmi-list__row-content"><!---->
                    <div class="kmi-list__row" ng-repeat="item in dialog.bad_list | filter:badreason_search track by $index ">
                        <div class="kmi-list__column column-border" style="flex:1;" ng-bind="item.reason_no"></div>
                        <div class="kmi-list__column column-border" style="flex:1;" ng-bind="item.reason_name"></div>
                        <div class="kmi-list__column column-border" style="flex:1;">
                            <div class="kmi-text-fields bad_input">
                                <input type="text" readonly ng-model="item.qty" ng-click="dialog.trackInputQty($event, item);"></input>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="kmi-mobile__btn-content">
            <button class="kmi-button__mobile" ng-click="dialog.confirm();">
                <label ng-bind="'common.btn.confirm' | translate"></label>
                <div class="kmi-can-click"></div>
            </button>
        </div>
    </div>
</div>
